<%--
  Created by IntelliJ IDEA.
  User: Noodles
  Date: 2018/1/11
  Time: 11:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>

    <style>
        input{
            border: none;
            background-color: inherit;
            color: black;
            text-align: center;
            font-size: medium;
        }
    </style>
</head>
<body>

<a style="font-family: 楷体;font-size: 26px">查看学生信息</a>
    <table border="1" cellpadding="10" cellspacing="0" width="50%" style="text-align: center;" align="center">

        <tr>
            <td>账号</td>
            <td>姓名</td>
            <td>年龄</td>
            <td>性别</td>
            <td>课程号</td>
            <td>课程名</td>
            <td>角色</td>
            <td></td>
        </tr>


        <c:forEach var="temp" items="${requestScope.allStuInfo}">

            <tr>


                <td><input type="text" disabled=true value="${temp.key.getUaccount()}"></td>
                <td><input type="text" disabled=true value="${temp.key.getUname()}"></td>
                <td><input type="text" disabled=true value="${temp.key.getUage()}"></td>
                <td><input type="text" disabled=true value="${temp.key.getUsex()}"></td>
                <td><input type="text" disabled=true value="${temp.value.getCno()}"></td>
                <td><input type="text" disabled=true value="${temp.value.getCname()}"></td>
                <td><input type="text" disabled=true value="${temp.key.getUcate()}"></td>
                <td><input  type="button" id="update" name="update" value="修改"></td>
            </tr>

        </c:forEach>

</table>
</body>
</html>
